package com.pikaqiu.service;

import com.pikaqiu.common.ServerResponse;
import com.pikaqiu.pojo.Category;

import java.util.Set;

/**
 * Created by Administrator on 2018/6/11.
 */
public interface ICategoryService {

    ServerResponse addCategory(String categoryName, Integer parentId);

    ServerResponse updateCategoryName(Integer categoryId, String categoryName);

    ServerResponse ChildrenParallel(Integer categoryId);

    ServerResponse AllChildrenParallel(Set<Category> set, Integer categoryId);
}
